package com.goat.rxcachedemo;

import java.util.List;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Headers;

/**
 * Created by zengwendi on 2017/12/7.
 */

public interface Service {
    String HOST ="https://www-pn.weiclicai.com/api/";

    /**
     * 获取城市 (省)
     */

    @Headers("Cache-Control: public, max-age=86400")
    @GET("promary")
    Observable<ApiRes<List<Province>>> getProvince();
}
